package main.test.SparkAPI.Baics.classApi

import main.test.SparkAPI.Baics.classApi.testTraits.Animal

object HelloWorld extends App {
  /**
   * Extending App, is the conventional way
   * of creating an exuctable scala obj.
   */
  println("Hello world")
}
trait xyz extends Animal{

}


//
//1 True: A class can extend a class.
//2 False: A class can extend an object.
//3 True: A class can extend a trait.
//4 True: An object can extend a class.
//5 False: An object can extend an object.
//6 True: An object can extend a trait.
//7 False: A trait can extend a class.
//8 False: A trait can extend an object.
//9 True: A trait can extend a trait.
